package org.sunyaxing.transflow.transflowapp.controllers.wshandler;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sunyaxing.transflow.transflowapp.common.logback.AgentMsgFilter;

public class StringProcessingHandler extends SimpleChannelInboundHandler<String> {
    private static final Logger log = LoggerFactory.getLogger(StringProcessingHandler.class);

    @Override
    protected void channelRead0(ChannelHandlerContext ctx, String msg) {
        log.info(AgentMsgFilter.MARKER, "【{}】{}", ctx.channel().id(), msg);
    }
}